package com.example.demo.dao;

import com.example.demo.model.Account;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AccountRep extends JpaRepository<Account, Long> {
    Page<Account> findByCustomer_CustomerId(Long customerId, Pageable pageable);
}
